package cn.minimelon.solon.domain.cert;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.beetl.sql.annotation.entity.Table;
import org.noear.snack.annotation.ONodeAttr;

import java.util.Date;

/**
 * @author : auto
 * @date : 2024-10-12
 * @desc : 产品注册证明细
 */
@Getter
@Setter
@ApiModel("产品注册证明细")
@Table(name = "qc_reg_detail")
public class QcRegDetail {

    /**
     * 主表ID
     */
    @ApiModelProperty("主表ID")
    private String pid;
    /**
     * 平台产品ID
     */
    @ApiModelProperty("平台产品ID")
    private String basGoodsId;
    /**
     * 供应商产品id
     */
    @ApiModelProperty("供应商产品id")
    private String provGoodsId;
    /**
     * 停用标识;从主表带入
     */
    @ApiModelProperty("停用标识")
    private Integer activeFlag;
    /**
     * 扩展信息
     */
    @ApiModelProperty("扩展信息")
    private String extInfo;

    @ApiModelProperty(value = "唯一标识")
    private String id;

    @ONodeAttr(format = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间")
    private Date lastModified;

    @ApiModelProperty(value = "数据版本")
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    @ONodeAttr(format = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "创建人ID")
    private String createUser;

    @ApiModelProperty(value = "修改人ID")
    private String lastModifiedUser;
}